dress up for the occasion

Translations
одеться по случаю
They dressed up for the occasion of the wedding.
Они оделись по случаю свадьбы.